package metier;

import java.util.*;


public class Utilisateur {
	
	private	String 	pseudo			= "";
	private	String 	mdp				= "";
	private String  nom				= "";
	private String 	prenom			= "";
	private String 	sexe			= "";
	private String 	adresse			= "";
	private Region 	region			= null;
	private String 	mail			= "";
	private String 	telephone		= "";
	private Date	dateInscription	= null;
	private boolean superviseur		= false;
	
	
	
	public Utilisateur()
	{
	
	}
	
	public Utilisateur(	String 	pseudo, String 	mdp, String nom, String prenom, String sexe,
						String 	adresse, Region idRegion, String mail, String telephone,Date dateInscription)
	{
		
		this.pseudo				= pseudo;
		this.mdp				= mdp;
		this.nom				= nom;
		this.prenom				= prenom;
		this.sexe				= sexe;
		this.adresse			= adresse;
		this.region			= idRegion;
		this.mail				= mail;
		this.telephone			= telephone;
		this.dateInscription	= dateInscription;	
		
	}
	
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPseudo() {
		return pseudo;
	}

	public void setPseudo(String pseudo) {
		this.pseudo = pseudo;
	}

	public String getMdp() {
		return mdp;
	}

	public void setMdp(String mdp) {
		this.mdp = mdp;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getSexe() {
		return sexe;
	}

	public void setSexe(String sexe) {
		this.sexe = sexe;
	}

	public String getAdresse() {
		return adresse;
	}

	public void setAdresse(String adresse) {
		this.adresse = adresse;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Date getDateInscription() {
		return dateInscription;
	}

	public void setDateInscription(Date dateInscription) {
		this.dateInscription = dateInscription;
	}

	public boolean isSuperviseur() {
		return superviseur;
	}

	public void setSuperviseur(boolean superviseur) {
		this.superviseur = superviseur;
	}

	@Override
	public String toString() {
		return "Utilisateur [pseudo=" + pseudo + ", mdp=" + mdp + ", prenom="
				+ prenom + ", sexe=" + sexe + ", adresse=" + adresse
				+ ", idRegion=" + region + ", mail=" + mail + ", telephone="
				+ telephone + ", dateInscription=" + dateInscription
				+ ", superviseur=" + superviseur + "]";
	}
	
	

}
